package com.etc.service;

import java.util.List;

import com.etc.entity.Records;
import com.etc.entity.Statistics;
import com.etc.util.PageData;

public interface IRecordsService {
	
	public boolean clockIn(int empId);
	public boolean clockOut(Records record);
	public Records getCurrentDayRecord(int empId);
	public List<Records> getqueryCurrentMonthRcordsById(int empId);
	//添加考勤记录（补卡）
	public boolean addRecords(Records record,int empId);
	
	//通过id查员工考勤记录详情信息
	public List<Records> getqueryById(int empId, String beginTime, String endTime,int clockIn) ;
	//查询所有员工考勤记录简略信息
//	public List<Statistics> getqueryAllRecords();
	//通过id删除考勤记录
	public boolean delRecords(int recordId);
	//通过id修改考勤记录
	public boolean updateRecords(Records record);
	
	//分页查询  pageNo:当前页   pageSize:每页显示记录数   查询所有员工考勤记录简略信息
	public PageData queryKeyRecords(int pageNo,int pageSize,String begintime,
			String endtime,int empId,int clockIn,int deptId,String empName);
	public PageData showAllRecordsByPage(int pageNo, int pageSize);
	public int countAllFullAttend(int clockInDetails);
	public List<Records> showAllRecords();
}
